Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1] Squash opr #1

Merged
merged 20 commits into from
May 6, 2024
Merged

[1] Squash opr #1

merged 20 commits into from
May 6, 2024

Conversation

fgrunewald
Copy link
Collaborator

This is the first draft of the squash bonding operator. The logic is to simply keep the atoms first and put a bond between them as per the usual workflow. In the end, they get squashed, and the fragment graphs as well as fragment IDs updated.

@fgrunewald fgrunewald requested a review from pckroon April 14, 2024 13:03
Copy link
Collaborator

@pckroon pckroon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need a bit more time to fully digest this code, but I have some first questions :)

cgsmiles/resolve.py Outdated Show resolved Hide resolved
cgsmiles/resolve.py Outdated Show resolved Hide resolved
cgsmiles/resolve.py Outdated Show resolved Hide resolved
@fgrunewald fgrunewald requested a review from pckroon April 16, 2024 14:12
@fgrunewald fgrunewald changed the title Squash opr [1] Squash opr Apr 22, 2024
Copy link
Collaborator

@pckroon pckroon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Some doubts and questions from my side.
I still think the [$] syntax to be... strange. What would happen with e.g. C[$]C?

cgsmiles/graph_utils.py Outdated Show resolved Hide resolved
cgsmiles/graph_utils.py Show resolved Hide resolved
cgsmiles/pysmiles_utils.py Outdated Show resolved Hide resolved
cgsmiles/pysmiles_utils.py Outdated Show resolved Hide resolved
cgsmiles/pysmiles_utils.py Show resolved Hide resolved
cgsmiles/resolve.py Outdated Show resolved Hide resolved
cgsmiles/resolve.py Outdated Show resolved Hide resolved
cgsmiles/resolve.py Show resolved Hide resolved
cgsmiles/tests/test_cgsmile_parsing.py Outdated Show resolved Hide resolved
cgsmiles/tests/test_molecule_resolve.py Show resolved Hide resolved
@pckroon pckroon mentioned this pull request May 1, 2024
@fgrunewald fgrunewald requested a review from pckroon May 5, 2024 13:55
cgsmiles/read_fragments.py Outdated Show resolved Hide resolved
cgsmiles/read_fragments.py Show resolved Hide resolved
cgsmiles/resolve.py Show resolved Hide resolved
cgsmiles/tests/test_molecule_resolve.py Show resolved Hide resolved
@fgrunewald fgrunewald merged commit 56752fe into master May 6, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants